<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h1 id="title">标题</h1>
    <div data-id="12465" id="good">厉害啦</div>
    <div data-id="12" id="haha">哈哈哈哈</div>

    <script src="../src/tangth.js"></script>

    <script>
        console.log("$", window);
        T(function(){
            // console.log("hahahha", $("div"), $("<div>"));
            var a = {a: 12};
            var b = {b: ["哈哈哈哈"]};

            var opts = $.extend(true, a, b);

            // console.log("opts", $("div").attr("class", "haha"));
            console.log("opts", $("div").css("height", "100px"));
        })

        // var good = document.getElementById("good");
        // good.style.height = "500px";

        
        // function a(opts){
        //     console.log("a", arguments, opts);
        // }

        // a();

        // isObject = function(value){
        //     var a = toString.call( value );
        //     console.log("a", a);

        //     if(value && typeof value === 'object'){
        //         return true;
        //     }

        //     return false;
        // }

        // isObject({});
        // isObject(undefined);


        

    </script>
</body>
</html>